package com.ruoyi.system.vo.weishuapay;

import java.util.ArrayList;
import java.util.List;

public class ProductUtil {
	
	public static List<FrontProductBean> product2Front(List<ProductBean> list){
		List<FrontProductBean> leve0 = new ArrayList<>();
		FrontProductBean front;
		for (ProductBean bean : list) {
			front = new FrontProductBean();
			front.setAcqMerchantName(bean.getName());
			front.setAcqMerchantNo(bean.getMcc());
			leve0.add(front);
		}
		return leve0;
	}
	
	public static List<ProductBean> getProducts(){
		return ReadExcelTools.productList;
	}
	

}
